import {http} from '../request'

// 2、定义登录函数接口
export default{
    search (pageNo,pageSize,searchMap){
        return http({
            url: `/api/search/${pageNo}/${pageSize}`,
            method: 'post',
            data:searchMap
        })
    },
    
    clickSku (skuId){
        return http({
            url: `/api/search/clickSku/${skuId}`,
            method: 'get'
        })
    },
	getGoodsById (skuId){
	    return http({
	        url: `/api/search/getGoodsById/${skuId}`,
	        method: 'get'
	    })
	},
}